
n =100
sum=0
counter =1
while counter<=100:
    sum=sum+counter
    counter+=1
print("1-100的和%d"%sum)


result=0
for i in range(101):
    result+=i
print(result)